package jok.decorator;

public class Test {

	public static void main(String[] args) {
		
		Writer txt = new WriterDecorator(new TxtWriter());
		Writer mp3 = new WriterDecorator(new Mp3Writer());
		Writer zip = new WriterDecoratorZip(new ZipWriter());
		
		txt.write();
		mp3.write();
		zip.write();
	}
}
